package com.mengtian_tech.tju.dataquery.api.model.tjuOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="college")
@Entity
@Table(name = "DICT_COLLEGE", schema="APP_MANAGER")
public class College {
    public College() {
        super();
    }
    
    @Id
    @Column(name = "COLLEGE_ID", unique = true, nullable = false)
    private String collegeId;
    @Column(name="COLLEGE")
    private String collegeName;
    @Column(name="SHORTNAME")
    private String shortName;
    @Column(name="ORG_ID")
    private String orgId;

    public void setCollegeId(String collegeId) {
        this.collegeId = collegeId;
    }

    @XmlElement(name="college_id")
    public String getCollegeId() {
        return collegeId;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    @XmlElement(name="college_name")
    public String getCollegeName() {
        return collegeName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    @XmlElement(name="short_name")
    public String getShortName() {
        return shortName;
    }
    @XmlElement(name="org_id")
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    
}
